package com.cloudbroker.bcs.platform.dav.bizapi.constants.type;

public enum ClientGender {
    
    OTHER(0, "其他"),
    
    MALE(1, "男"),
    
    FEMALE(2, "女"),
    
    ;
    
    private final int val;
    
    private final String description;
    
    private String toString;
    
    private ClientGender(int val, String description) {
        this.val = val;
        this.description = description;
    }
    
    public int getVal() {
        return val;
    }
    
    public String getDescription() {
        return description;
    }
    
    @Override
    public String toString() {
        if (null == toString) {
            toString = new StringBuilder().append("ClientGender[").append(val).append(':').append(description)
                    .append(']').toString();
        }
        return toString;
    }
    
}
